package Graficos;

import javax.swing.*;

public class Programa {

	public static void main(String[] args) {
		JFrame ventana = new JFrame();
		ventana.setTitle("Ventana");
		ventana.setSize(600, 400);
		ventana.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JLabel label = new JLabel();		
		label.setText("hola mundo");
		
		JPanel panel = new JPanel();
		panel.add(label);
		
		ventana.add(panel);
		ventana.setVisible(true);
		

	}

}
